<?php
$idArtS=$_GET['idArt'];

$reqSB1=mysql_query("DELETE FROM `mp3_art` WHERE idArt='$idArtS'") or die (mysql_error());
$reqSB2=mysql_query("DELETE FROM `videos_art` WHERE idArt='$idArtS'") or die (mysql_error());
$reqSB3=mysql_query("DELETE FROM `events_art` WHERE idArt='$idArtS'") or die (mysql_error());
$reqImg=mysql_query("SELECT * FROM artistes WHERE idArtistes='$idArtS'") or die (mysql_error());
$data=mysql_fetch_assoc($reqImg);
$PhotoArt=$data['PhotoArt'];
if(!empty($PhotoArt)){
	$ImgSup="../imagesPhotosArt/".$PhotoArt;
 	unlink($ImgSup);
}
$reqSB=mysql_query("DELETE FROM `artistes` WHERE idArtistes='$idArtS'") or die (mysql_error());

?>